home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11367 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  36 lines

  1. Path: news.bluesky.net!usenet
  2. From: Dan Jacobs <djacobs@BlueSky.net>
  3. Newsgroups: comp.unix.programmer,comp.unix.shell,comp.unix.misc,comp.unix.admin,comp.lang.c,comp.lang.java
  4. Subject: Re: Help! Shared library path.
  5. Date: Sat, 23 Mar 1996 08:39:18 -0500
  6. Organization: Tech Tonic Netsystems
  7. Message-ID: <3153FF06.15BA@BlueSky.net>
  8. References: <31516869.2DB0@tsl.uu.se>
  9. NNTP-Posting-Host: bs4.bluesky.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Johan Holling wrote:
  16. > I┤m trying to run a java class that loads a dynamic loadable
  17. > library
  18. > called j2c but I allways get this msg:
  19. >     "java.lang.UnsatisfiedLinkError: no j2c in shared library
  20. > path"
  21. > I compiled the files with the command:
  22. >     "cc -G java2c.c java2c_trig.c -o
  23. > /export/home/holling/lib/j2c"
  24.  
  25. try "-o libj2c.so" instead.  LD_LIBRARY_PATH looks for lib*.so
  26. -- 
  27.  
  28. Dan Jacobs                   email:    djacobs@BlueSky.net
  29. Tech Tonic Netsystems        voice:    617-273-5825
  30. Burlington, MA
  31.  
  32.